<#ftl encoding="UTF-8" />
        <form id="form_data" class="form__data_content">
            <!-- 任务角色 -->
            <div id="panelTop" style="position:relative; height:50px; border-bottom: 1px solid #ddd; background-color:#fff;">
                <div id="btnPanel_01" style="position:absolute; display:inline-block; top:12px; left: 8px; width:auto; padding:0px;">
                    <button type="button" name="_ButBack" id="ButBack" class="act__button" onclick="_InstancePageHeader.DoBack();"><i class="fa-all fa-1x fa-reply" style="margin-right:3px;"></i>返回</button>
                    <button type="button" name="_ButNew" id="ButNew" class="act__button" onclick="_InstancePageHeader.New();"><i class="fa-all fa-1x fa-plus" style="margin-right:3px;"></i>增加</button>
                    <button type="button" name="_ButSave" id="ButSave" class="act__button" onclick="_InstancePageHeader.Save();"><i class="fa-all fa-1x fa-save" style="margin-right:3px;"></i>保存</button>
                </div>
                <div id="rec_position" style="position:absolute; display:inline-block; right:80px; top:18px; width:auto;">
                    <span id="rec_cur_row">15</span> / <span id="rec_total_rows">15</span>
                </div>
                <div class="panel__toolbar" style="position:absolute; display:inline-block; top:12px; right:20px;">
                    <div class="panel__toolbar_item">
                        <button type="button" class="toolbar__button" name="_ButPrev" id="ButPrev" title="前一条" onclick="_InstancePageHeader.PrevRecord();"><i class="fa-all fa-1x fa-angle-left" style="margin-right:3px;"></i></button>
                    </div>
                    <div class="panel__toolbar_item" disabled="disabled">
                        <button type="button" class="toolbar__button" name="_ButNext" id="ButNext" title="后一条" onclick="_InstancePageHeader.NextRecord();"><i class="fa-all fa-1x fa-angle-right" style="margin-right:3px;"></i></button>
                    </div>
                </div>
            </div>
            <div class="data__table_wrapper">
                <table class="data__table">
                    <colgroup>
                        <col style="width: 7%;" />
                        <col style="width: 17%;" />
                        <col style="width: 7%;" />
                        <col style="width: 17%;" />
                        <col style="width: 7%;" />
                        <col style="width: 17%;" />
                        <col style="width: 7%;" />
                        <col />
                    </colgroup>
                    <tbody>
                        <tr>
                            <td class="td__label">
                                <label for="RoleNo">角色编号<em>★</em></label>
                            </td>
                            <td>
                                <input type="text" id="RoleNo" name="_RoleNo" tabindex="1" />
                            </td>
                            <td class="td__label">
                                <label for="RoleName">角色名称<em>★</em></label>
                            </td>
                            <td colspan="5">
                                <input type="text" id="RoleName" name="_RoleName" tabindex="2" style="width:100%;" />
                            </td>
                        </tr>
                        <tr>
                            <td class="td__label" style="vertical-align:top; padding-top:8px;">
                                <label for="Description">描述</label>
                            </td>
                            <td colspan="7">
                                <textarea class="area" id="Description" name="_Description" rows="4" tabindex="3" style="height:70px;width:100%;resize:none;"></textarea>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </form>
        <input id="Action" type="hidden" value="<#if action?exists>${action}<#else>0</#if>" />
        <input id="RoleId" type="hidden" value="<#if roleId?exists>${roleId}<#else>0</#if>" />

        <!-- 明细部分 -->
        <div id="panelSlave" style="position:relative; top:0px;">
            <!-- 折叠标记 -->
            <div id="hPanelSplitter" title="隐藏主表"><i class="fa-all fa-angle-double-up"></i></div>
            <!-- 明细内容 -->
            <ul id="tabPanelHeader" class="tabstrip" style="top:0px; width:100%">
                <li id="menu_01" class="tabInactive" style="margin-left:25px;">
                    <div>
                        <span class="tab_stretch"><span class="tabtext"><abbr class="ls_01">角色用户</abbr></span></span>
                    </div>
                </li>
            </ul>
            <div id="tabPanelData" class="tab__wrapper" style="top:0px; height:auto;">
                <div id="tabWrapper_01" class="tab__content" style="padding-top:5px; width:100%;">
                    <div id="panelSlaveButton" style="clear:both; position:relative; top:3px; padding-left:8px; z-index:+1;">
                        <button type="button" name="_ButNewLines" id="ButNewLines" class="act__button" onclick="_InstancePageLines.NewLines();"><i class="fa-all fa-1x fa-plus" style="margin-right:3px;"></i>增加</button>
                        <button type="button" name="_ButDeleteLines" id="ButDeleteLines" class="act__button" onclick="_InstancePageLines.BatchDeleteLines();"><i class="fa-all fa-1x fa-minus" style="margin-right:5px;"></i>批量删除</button>
                    </div>
                    <div id="panelSlaveData_01" style="position:relative; top:10px; width:100%; padding:0 8px;">
                        <table id="tabHeader01" class="layout display" style="width:100%;">
                            <colgroup>
                                <col style="width: 28px;" />
                                <col style="width: 36px;" />
                                <col style="width: 120px;" />
                                <col />
                                <col style="width: 18px;" />
                            </colgroup>
                            <thead>
                                <tr>
                                    <th style="padding-left:6px;">
                                        <label class="btn" for="CheckAll"><input id="CheckAll" type="checkbox" onclick="_InstancePageLines.DoCheckAll($(this),'_check_row');" /><i></i><span></span></label>
                                    </th>
                                    <th style="text-align:center;">删除</th>
                                    <th class="sort__column">用户</th>
                                    <th class="sort__column">所属部门</th>
                                    <th></th>
                                </tr>
                            </thead>
                        </table>
                        <div id="divD1" class="grid__data_wrapper" style="border-left:none; overflow-y:scroll; width:100%;">
                            <table id="tabData01" class="responsive__table" style="margin-top:-1px; width:100%;">
                                <colgroup>
                                    <col style="width: 28px;" /> 
                                    <col style="width: 36px;" />
                                    <col style="width: 120px;" />
                                    <col />
                                </colgroup>
                                <tbody>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
